package com.ftg.learn.buke.test1;

/**
 * @author lijiaxin
 * @version 1.0
 * @date 2023/8/15 17:22
 */

public class Qf {

    private String name;
    private int blood;
    private int attack;
    private int protect;

    public Qf( String name,int blood,int attack,int protect){
        this.blood=blood;
        this.name=name;
        this.attack=attack;
        this.protect=protect;
    }
    public Qf(){}

//    public void deductblood(int x){
//        System.out.println("乔峰血量为");
//    }

    public void say(){
        System.out.println("乔峰打了鸠摩智");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getBlood() {
        return blood;
    }

    public void setBlood(int blood) {
        this.blood = blood;
    }

    public int getAttack() {
        return attack;
    }

    public void setAttack(int attack) {
        this.attack = attack;
    }

    public int getProtect() {
        return protect;
    }

    public void setProtect(int protect) {
        this.protect = protect;
    }
}
